#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include<QIcon>
#include<QLabel>
#include<QPushButton>
#include<QVBoxLayout>
#include "gamewidget.h"

namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();
private:
    QLabel *label;
    QPushButton *startbtn;
    QPushButton *setbtn;
    QPushButton *helpbtn;
    QPushButton *quitbtn;
    QVBoxLayout *vboxlayout;
    gamewidget *w;
public slots:
    void startbtnclick();//槽函数


private:
    Ui::Widget *ui;
};

#endif // WIDGET_H
